package com.ktgj.customer.service;

import java.util.List;
import com.ktgj.customer.domain.CaseComplaintReason;

/**
 * 投诉工单_投诉原因Service接口
 * 
 * @author ruoyi
 * @date 2022-05-27
 */
public interface ICaseComplaintReasonService 
{
    /**
     * 查询投诉工单_投诉原因
     * 
     * @param complaintReasonId 投诉工单_投诉原因ID
     * @return 投诉工单_投诉原因
     */
    public CaseComplaintReason selectCaseComplaintReasonById(Long complaintReasonId);

    /**
     * 查询投诉工单_投诉原因列表
     * 
     * @param caseComplaintReason 投诉工单_投诉原因
     * @return 投诉工单_投诉原因集合
     */
    public List<CaseComplaintReason> selectCaseComplaintReasonList(CaseComplaintReason caseComplaintReason);

    /**
     * 新增投诉工单_投诉原因
     * 
     * @param caseComplaintReason 投诉工单_投诉原因
     * @return 结果
     */
    public int insertCaseComplaintReason(CaseComplaintReason caseComplaintReason);

    /**
     * 修改投诉工单_投诉原因
     * 
     * @param caseComplaintReason 投诉工单_投诉原因
     * @return 结果
     */
    public int updateCaseComplaintReason(CaseComplaintReason caseComplaintReason);

    /**
     * 批量删除投诉工单_投诉原因
     * 
     * @param complaintReasonIds 需要删除的投诉工单_投诉原因ID
     * @return 结果
     */
    public int deleteCaseComplaintReasonByIds(Long[] complaintReasonIds);

    /**
     * 删除投诉工单_投诉原因信息
     * 
     * @param complaintReasonId 投诉工单_投诉原因ID
     * @return 结果
     */
    public int deleteCaseComplaintReasonById(Long complaintReasonId);
    /**
     *查询投诉工单_投诉原因列表
     * @return投诉工单_投诉原因集合
     */
    public List<CaseComplaintReason> selectReasonList();
}
